package com.smedi.ismedi.inmail.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 个推记录表
 *
 * @author niuyanling
 * @date 2021/08/05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "iml_app_push_record")
public class AppPushRecordEntity {
    /**
     * 客户端ids
     */
    @TableField(value = "client_ids")
    private String clientIds;
    /**
     * 推送消息类型
     */
    @TableField(value = "title")
    private String title;
    /**
     * 推送消息内容
     */
    @TableField(value = "content")
    private String content;
    /**
     * 推送消息时间
     */
    @TableField(value = "push_time")
    private LocalDateTime pushTime;
    /**
     * 错误信息
     */
    @TableField(value = "error_msg")
    private String errorMsg;
}
